<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            vertical-align: middle;
        }

        body {
            background-color: #ffffff;
        }

        a:hover {
            color: orangered
        }

        a {
            color: rgb(109, 108, 108);
            text-decoration: none;
            text-align: center;
        }

        .ym {
            float: left;
            width: 100%;
            height: 35px;
            background-color: #cccccc;
            font-size: 5px;
        }

        .ym_1 {
            float: left;
            margin-left: 20%;
            height: 100%;
            color: orangered;
            margin-top: 8px;
        }

        .ym_2 {
            
            margin-left: 20px;
            float: left;
            height: 100%;
            margin-top: 8px;
        }
        .tz{
           margin-left: 5px;
        }
     .tbw{
         float: left;
         margin-left: 15%;
     }
     .zi{
         float: left;
         font-size: 25px;
         margin-top: 15px;
         
     }
     input{
border: none;
height: 30px;
padding-left: 5px;
outline: none;
     }
     .bk{
         border: 1px solid #c9c9c9;
         border-radius: 3px;
         display: inline-block;
         width: 300px;
     }
select{
    border: none;
    height: 30px;
}
.sj{
    margin-left: 40%;
    font-size: 15px;
    height: 25px;
    margin-top: 200px;

}
.yz{
    margin-left: 40%;
    font-size: 15px;
    height: 25px;
    
}
.ty{
    margin-left: 40%;
    font-size: 15px;
    height: 25px;
}
.xy{
    margin-left: 40%;
    font-size: 15px;
    height: 25px;
    
}
.qh{
    margin-left: 40%;
    font-size: 15px;
    height: 25px;
   margin-top: 20px;
}
.fo{
    font-size: 14px;
    
    color: rgba(49, 49, 49);
    text-decoration: none;
    margin-left: 30%;
}
.fon{
    font-size: 14px;
    margin-left: 30%;
    color: rgba(49, 49, 49);
    text-decoration: none;
    
}
.fonn{
    font-size: 14px;
    margin-left: 30%;
    color: rgba(49, 49, 49);
    text-decoration: none;
    
}
.hui{
    color: rgb(204, 204, 204);
}
    </style>
</head>

<body>
    <div class="ym">
       <a href=""><div class="ym_1">亲，请登录</div></a> 
        <div class="ym_2"> <a href=""> 免费注册</a></div>
        <div class="ym_2"><a href="">手机逛淘宝</a></div>
        <div style="margin-left: 100px;float: left;height: 100%;margin-top: 8px;"><a href="">淘宝网首页</a></div>
        <div class="ym_2" ><a href="">我的淘宝</a></div>
        <div class="ym_2"><a href="">购物车</a></div>
        <div class="ym_2"><a href="">收藏夹</a></div>
        <div class="ym_2"><a href="">商品分类</a></div>
        <div class="ym_2"><a href="">卖家中心</a></div>
        <div class="ym_2"><a href="">联系客服</a></div>
        <div class="ym_2"><a href="">网站导航</a></div>
    </div>
    <div class="tz">
        <div class="tbw"><img src="1.png" alt=""></div>
       <div class="zi" ><span>用户注册</span></div> 
    </div>
<div style="height: 20px;"></div>
<div class="sj">
    <label for="" style="width: 70px;display: inline-block;text-align: right;">手机号码</label>
    <div class="bk">
        <select name="" id="">
        <option value="">
            中国大陆+86
        </option>
    </select>
        <div style="vertical-align: middle;display: inline-block;background-color: #d6d6d6;width: 1px;height: 30px;"></div>
        <input id="phone" type="text" placeholder="请输入你的手机号码">
    </div>
</div>
<div style="height: 30px;"></div>
<div class="yz">
    <label for="" style="width: 70px;display: inline-block;text-align: right;">验证码</label>
    <div class="bk">
        <input type="text" name="" id="" placeholder="请输入验证码">
        <a id="dh" href="" style="color: orangered;font-size: 13px;float: right;height: 30px;margin-right: 10px;line-height: 30px;">
        获取验证码
        </a>
    </div>
</div>

<div style="height: 40px;"></div>
<div class="ty">
    <div style="width: 70px;display: inline-block;"></div>
    <div style="width: 150px;display: inline-block;">
    <a href="tbsy.html" style="background-image: linear-gradient(90deg,rgb(231,141,5),#ee4f05);width: 200%;height: 34px;display: inline-block;opacity: .5;color: white;line-height: 30px;border-radius: 3px;text-align: center;">
    同意协议并注册
    </a>
    </div>
</div>
<div style="height: 20px;"></div>
<div class="xy">
    <div style="width: 70px;display: inline-block;"></div>
    <div style="width: 300px;display: inline-block;">
    <span style="color: #c9c9c9;font-size: 10px;">已阅读并同意一下协议</span>
   <span style="color: orangered;font-size: 10px;"> 淘宝平台服务隐私协议、隐私权政策、法律声明、支付宝及客户端服务协议</span>
    </div>
</div>

<div style="height: 20px;"></div>
<div class="qh">
<div style="display: inline-block;margin-left: 250px;"></div>
<a href=""><span style="color: orangered;font-size: 10px;">切换成企业账户注册</span></a>
</div>

<div style="height: 40px;"></div>
<hr style="margin-left:30%;" width="800px" color="#c9c9c9" size="1px" align="center" ></hr>
<div style="height: 5px;"></div>
<div class="fo" style="width: 100%;">
<a href="">阿里巴巴集团</a>
<span class="hui">|</span>
<a href="">阿里巴巴国际站</a>
<span class="hui">|</span>
<a href="">全球速卖通</a>
<span class="hui">|</span>
<a href="">淘宝网</a>
<span class="hui">|</span>
<a href="">天猫</a>
<span class="hui">|</span>
<a href="">聚划算</a>
<span class="hui">|</span>
<a href="">阿里妈妈</a>
<span class="hui">|</span>
<a href="">阿里云计算</a>
<span class="hui">|</span>
<a href="">云OS</a>
<span class="hui">|</span>
<a href="">万网</a>
<span class="hui">|</span>
<a href="">支付宝</a>

</div>
<div style="height: 8px;"></div>
<hr style="margin-left:30%;" width="800px" color="#c9c9c9" size="1px" align="center" ></hr>
<div style="height: 5px;"></div>
<div class="fon">
    <a href="">关于淘宝</a>
    <a href="">合作伙伴</a>
    <a href="">营销中心</a>
    <a href="">联系客服</a>
    <a href="">开放平台</a>
    <a href="">诚征英才</a>
    <a href="">联系我们</a>
    <a href="">网站地图</a>
    <a href="">法律声明及隐私权政策</a>
    <span class="hui">© 2021 Taobao.com 版权所有</span>
</div>
<div style="height: 5px;"></div>
<div class="fonn">
    <span class="hui">网络文化经营许可证：</span>
    <a href="">文网文[2010]040号</a>
    <span class="hui">|</span>
    <span class="hui">增值电信业务经营许可证：浙B2-20080224-1</span>
    <span class="hui">信息网络传播视听节目许可证：1109364号</span>
</div>
<script>
    var phone=document.querySelector("#phone");
    document.querySelector("#dh").onclick=function(){
        if(phone.value.length!=11){
         alert("请输入正确的手机号码");
        }else{
         alert("成功发送");
        }
    }
</script>
</body>

</html>